.Privilege {
  width: 90%;
  height: 100%;
  margin: 0 auto;

  >.header {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;

    >h3 {
      color: #000;
      font-weight: bolder;
      text-align: center;
    }
  }

  >.main {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;

    >.nav {
      width: 15%;
      height: 100%;
      background-color: #fdf7f7;

      >h3 {
        font-size: 18px;
        font-weight: bolder;
        padding: 15px;
      }

      >ul {
        width: 100%;
        display: flex;
        flex-direction: column;

        >li {
          width: 100%;
          padding: 10px 15px;
          font-size: 14px;
        }

        li:hover {
          background-color: #e6e1e1;
          cursor: pointer;
        }
      }
    }

    >.content {
      width: 80%;
      height: 100%;
      display: flex;
      flex-direction: column;
      background-color: #fdf7f7;
      padding: 25px 40px;

      >.title {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        >.left {
          display: flex;
          align-items: center;

          >p:nth-of-type(1) {
            font-size: 16px;
            font-weight: bolder;
          }

          >p:nth-of-type(2) {
            display: flex;
            align-items: center;

            >span {
              font-size: 13px;
              margin-left: 15px;
            }
          }
        }

        >.right {
          display: flex;
          align-items: center;

          >p {
            margin: 0 10px;
          }
        }
      }

      >.admin {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 50px 10px;
      }

      >.privilege {
        width: 100%;

        >.head {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        >div+div {
          display: flex;
          flex-direction: column;
          margin: 10px 0;

          >p {
            font-size: 14px;
            color: #807d7d;
          }

          >div {
            display: flex;
            align-items: center;

            >p {
              font-size: 16px;
              font-weight: bolder;
            }

            >ul {
              display: flex;
              align-items: center;

              >li {
                margin: 0 10px;
                background-color: rgb(230, 224, 224);
                border-radius: 15px;
                padding: 2px 20px;
                font-size: 12px;
              }
            }
          }
        }
      }
    }
  }
}

#add {
  width: 100%;

  >h3 {
    width: 100%;
    text-align: center;

    >span {
      margin: 0 5px;
    }
  }

  >ul {
    width: 100%;
    display: flex;
    flex-direction: column;

    >li {
      width: 100%;
      display: flex;
      align-items: flex-start;
      justify-content: space-evenly;
      margin: 5px 0;

      >:first-child {
        width: 20%;
      }

      >:last-child {
        width: 60%;
        text-align: left;
      }
    }
  }
}

.ant-modal-content {
  min-width: 1000px !important;
  position: absolute;
  left: calc(50% - 500px) !important;
}

#setting {
  width: 100%;

  >h3 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

#addChildRole {
  width: 100%;
  >.role_info{
    width: 100%;
    >ul {
      width: 100%;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
  
      >li {
        margin: 10px 0;
        width: calc(100% / 3 - 10px);
        display: flex;
        align-items: center;
        >:first-child{
          width: 25%;
        }
        >:last-child{
          width: 70%;
        }
      }
    }
    >.btn{
      width: 100%;
      text-align: center;
      >button{
        margin: 0 15px;
      }
    }
  }
  >.roleList{
    width: 100%;
    margin: 15px 0px;
    >.table{
      width: 100%;
      height: 30%;
      >.ant-table-wrapper{
        width: 100%;
        height: 100%;
        >.ant-spin-nested-loading{
          width: 100%;
          height: 100%;
          >.ant-spin-container{
            width: 100%;
            height: 100%;
            >.ant-table.ant-table-bordered.ant-table-fixed-header{
              width: 100%;
              height: 100%;
              >.ant-table-container{
                width: 100%;
                height: 100%;
                .ant-table-cell{
                  text-align: center !important;
                }
                >.ant-table-header{
                  width: 100%;
                  height: 56px;
                  >.ant-table-header{
                    width: 100%;
                    height: 100%;
                  }
                }
                >.ant-table-body{
                  width: 100%;
                  height: 250px;
                  max-height:30% !important;
                  .ant-table-thead{
                    >tr{
                      >td{
                        text-align: center !important;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  >.pagination{
    width: 100%;
    text-align: right;
    margin: 15px 0;
    
  }
}
